#import <Foundation/Foundation.h>

#import "../model/Like.h"
#import "RequestConfig.h"
#import "Like.h"
#ifndef Like_h
#define Like_h

@interface LikeRequest : NSObject

@property (nonatomic,weak) RequestConfig* config;
- (void)initReq:(RequestConfig*)config;
+ (id)defaultLikeRequest;

- (void)getLikeList:(nullable void (^)(NSArray<NSString*>*))success
            failure:(nullable void (^)(NSString *reason))failure;
- (void)likeContentByID:(NSString*)ContentID
                success:(nullable void (^)(void))success
                failure:(nullable void (^)(NSString *reason))failure;
- (void)unlikeContentByID:(NSString*)ContentID
                  success:(nullable void (^)(void))success
                  failure:(nullable void (^)(NSString *reason))failure;
- (void)likeCommentByID:(NSString*)CommentID
                success:(nullable void (^)(void))success
                failure:(nullable void (^)(NSString *reason))failure;
- (void)unlikeCommentByID:(NSString*)CommentID
                  success:(nullable void (^)(void))success
                  failure:(nullable void (^)(NSString *reason))failure;
- (void)likeReplyByID:(NSString*)ReplyID
              success:(nullable void (^)(void))success
              failure:(nullable void (^)(NSString *reason))failure;
- (void)unlikeReplyByID:(NSString*)ReplyID
                success:(nullable void (^)(void))success
                failure:(nullable void (^)(NSString *reason))failure;

@end
#endif
